﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PopupAddUser.ascx.cs" Inherits="Hutech.CRM.Web.Controls.ManageRoleAndModule.PopupAddUser" %>

<%--Begin popup--%>
<%--<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
    <ContentTemplate>--%>
        <asp:Button ID="ButtonDelagate1" runat="server" Style="display: none;" />
        <ajaxToolkit:ModalPopupExtender ID="ModalPopupAddUser" CancelControlID="btnCloseModal"
                TargetControlID="ButtonDelagate1" PopupControlID="pnlAddUser" PopupDragHandleControlID="pnlEditTTHeader"
                runat="server" BackgroundCssClass="modalBackground" >
        </ajaxToolkit:ModalPopupExtender>
        <asp:Panel ID="pnlAddUser" runat="server" CssClass="modalPanel" Width="600">
            <asp:Panel ID="pnlEditTTHeader" runat="server" CssClass="modalPanelHeader">
                <asp:Label ID="lblHead" runat="server"></asp:Label>
            </asp:Panel>
            <asp:UpdatePanel ID="pnlEditTTUpdate" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
                <ContentTemplate>
                    <asp:Panel ID="pnlContent" runat="server" CssClass="modalPanelContent">
                        <div class="ContenPopup">
                            <asp:HiddenField ID="_RoleID" runat="server" />
                            <div class="error"></div>
                            <%--<div class="line"></div>--%>
                            <div class="NoColor">
                                <div class="tableuser">
                                    <asp:Repeater ID="rptUsers" runat="server">
                                        <ItemTemplate>
                                            <span class="spaceUserAndUser">
                                                <asp:LinkButton ID="LinkButtonUserToSetRole" runat="server" Text='<%# Eval("Name")%>' ToolTip='<%# Eval("LoginName")%>' CommandName="Chon" CommandArgument='<%# Eval("UserID")%>'></asp:LinkButton>
                                            </span>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </div>
                            </div>
                        </div>
                    </asp:Panel>
                </ContentTemplate>
                <Triggers></Triggers>
            </asp:UpdatePanel>
            <asp:Panel ID="pnlEditTTFooter" runat="server" CssClass="modalPanelFooter">
                <div class="ContenPopupCommand">
                   <%-- <mC:tsButton ID="btnSaveModal" runat="server" Text="Lưu" />--%>
                    <mC:tsButton ID="btnCloseModal" runat="server" Text="Đóng" />
                </div>
            </asp:Panel>
        </asp:Panel>
<%--    </ContentTemplate>
</asp:UpdatePanel>--%>
        <%--End popup--%>
